 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
|
Local
variables
|
|
 |
|
|
|
|
|
|
n |
are declared
within a function and can only be
|
|
used within that
function.
|
|
|
|
Global
variables
|
|
 |
|
|
|
|
|
|
n |
are available to
all functions.
|
|
|
|
n |
Are declared as
normal, but outside any of
|
|
|
the program’s
functions. This is usually done
|
|
|
at the beginning
of the program file, but after
|
|
|
preprocessor
directives
|
|